package ac.st.junit;

import junit.framework.Assert;

import org.junit.Test;

import ac.st.server.STeditor;

public class SteditorTest {

	@Test
	public void test(){
		Assert.assertEquals("00:00:25,999", STeditor.getInstance().extractDate("00:00:25,999 --> 00:00:26,999", true));
		Assert.assertEquals("00:00:26,999", STeditor.getInstance().extractDate("00:00:25,999 --> 00:00:26,999", false));
		
		
	}
	
}
